<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Admin extends CI_Controller {

	public function index() {
		if($this->index->logado() == false) {
			$aData = array();
			$aData['admin'] = true;
			$this->index->montarPagina('usuario/login_view', $aData);
		} else {
			redirect('home');
		}
	}
}

/* End of file admin.php */
/* Location: ./application/controllers/admin.php */